home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
PCBOOT.ARJ
/
WARMBOOT.C
< prev
next >
Wrap
Text File
|
1992-03-05
|
512b
|
21 lines
/*****************************************************************************
warmboot.c
Developed November 1991 by Larry Reeve
A TurboC program to warm boot an IBM-PC.
******************************************************************************/
#include <dos.h>
void main (void)
{
unsigned int far * Indicator;
void (far * PtrReboot) (void);
Indicator = MK_FP(0x0000,0x0472);
PtrReboot = MK_FP(0xFFFF,0x0000);
*Indicator = 0x1234;
(*PtrReboot) ();
}